#extensionManager {
  background-color: #EEE;
}

#extensionsBox {
  margin: 10px 10px 0px 10px;
  min-width: 1px;
}

#extensionsView,
richlistbox {
  -moz-appearance: none;
  border: 1px solid #666;
}

#getMore {
  text-align: right;
}

#resizerBox {
  margin-top: -12px;
}

#resizerBox > resizer {
  height: 10px;
  max-height: 10px;
}

#searchfield {
  -moz-margin-start: 0;
}

/* Command Bar */
#commandBarBottom {
  margin: 10px 10px 10px 10px;
  min-width: 1px;
}

#commandBarBottom button {
  margin: 0px;
  list-style-image: url("chrome://mozapps/skin/extensions/actionbuttons.png");
}

#commandBarBottom button .button-icon {
  margin-top: 0px;
  margin-bottom: 0px;
  -moz-margin-start: 0px;
  -moz-margin-end: 5px;
}

#installFileButton, #installUpdatesAllButton {
  -moz-image-region: rect(0px, 84px, 21px, 63px);
}

#installFileButton[disabled="true"],
#installUpdatesAllButton[disabled="true"] {
  -moz-image-region: rect(21px, 84px, 42px, 63px);
}

#checkUpdatesAllButton {
  -moz-image-region: rect(0px, 63px, 21px, 42px);
}

#checkUpdatesAllButton[disabled="true"] {
  -moz-image-region: rect(21px, 63px, 42px, 42px);
}

#restartAppButton {
  -moz-image-region: rect(0px, 42px, 21px, 21px);
}

#restartAppButton[disabled="true"] {
  -moz-image-region: rect(21px, 42px, 42px, 21px);
}

#showUpdateInfoButton {
  -moz-image-region: rect(0px, 105px, 21px, 84px);
}


#hideUpdateInfoButton {
  -moz-image-region: rect(21px, 105px, 42px, 84px);
}

#skipDialogButton {
  -moz-image-region: rect(0px, 21px, 21px, 0px);
}

#skipDialogButton[disabled="true"] {
  -moz-image-region: rect(21px, 21px, 42px, 0px);
}

#continueDialogButton {
  -moz-image-region: rect(0px, 63px, 21px, 42px);
}

#continueDialogButton[disabled="true"] {
  -moz-image-region: rect(21px, 63px, 42px, 42px);
}

/* List Items */
richlistitem {
  padding-top: 2px;
  padding-bottom: 6px;
  -moz-padding-start: 7px;
  -moz-padding-end: 7px;
  border-bottom: 1px dashed #AAA;
}

richlistitem:not([selected=true]) .addonIcon,
richlistitem:not([selected=true]) .addonIcon > image {
  height: 16px;
  width: 16px;
}

richlistitem:not([selected=true]) .addon-description {
  display: none;
}

richlistitem[isDisabled="true"] .addonIcon {
  opacity: 0.25;
}

richlistitem[isDisabled="true"] .descriptionCrop,
richlistitem[isDisabled="true"] .descriptionWrap,
richlistitem[isDisabled="true"] {
  color: #999;
}

richlistitem[newAddon="true"] {
  background-color: #FFE;
  color: #000;
}

richlistitem[selected="true"]:not([isDisabled="true"]) {
  background-color: #DDD;
  color: #000;
}

.descriptionWrap {
  margin-bottom: 2px;
}

richlistitem[selected="true"]:not([opType]) .descriptionCrop,
richlistitem[selected="true"][opType="none"] .descriptionCrop {
  display: none;
}

.addonName {
  font-weight: bold;
}

.addonIcon {
  -moz-margin-end: 2px;
}

.descriptionCrop,
.descriptionWrap  {
  color: #000;
}

.previewText {
  font-size: larger;
  font-weight: bold;
  color: #999;
  text-align: center;
}

#themePreviewArea {
  -moz-appearance: none;
  border: 1px solid #666;
  background-color: #FFF;
  color: #000;
  overflow: auto;
  width: 0px;
}

#themeSplitter {
 border-width: 0px;
}

richlistitem[lwtheme] .addonIcon > image {
  list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
}

richlistitem[plugin] .addonIcon > image {
  list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
}

.updateBadge,
.notifyBadge {
  width: 8px;
  height: 8px;
  list-style-image: url("chrome://mozapps/skin/extensions/notifybadges.png");
}

.updateBadge {
  -moz-margin-end: -2px;
  -moz-image-region: rect(0px 8px 8px 0px);
}

.notifyBadge {
  -moz-margin-start: -2px;
  -moz-image-region: rect(0px 24px 8px 16px);
}

.updateBadge,
.updateAvailableBox,
.notifyBadge {
  display: none;
}

richlistitem[availableUpdateURL][updateable="true"] .updateBadge,
richlistitem[availableUpdateURL][updateable="true"] .updateAvailableBox,
richlistitem[compatible="false"] .notifyBadge,
richlistitem[providesUpdatesSecurely="false"] .notifyBadge,
richlistitem[blocklisted="true"] .notifyBadge,
richlistitem[satisfiesDependencies="false"] .notifyBadge {
  display: -moz-box;
}


/* Selected Add-on buttons */
.selectedButtons {
  margin-top: 4px;
  min-height: 2.1em;
}

.selectedButtons > button {
  margin-top: 0px;
  margin-bottom: 0px;
}

.enableButton,
.disableButton,
.optionsButton,
.useThemeButton {
  -moz-margin-end: 0px;
}

.enableButton, .disableButton,
.uninstallButton, .cancelUninstallButton {
  -moz-margin-start: 5px;
}

/* Selected Add-on status messages and images */
richlistitem[compatible="true"] .incompatibleBox,
richlistitem[providesUpdatesSecurely="true"] .insecureUpdateBox,
richlistitem[satisfiesDependencies="true"] .needsDependenciesBox,
richlistitem:not([blocklisted="true"]):not([blocklistedsoft="true"]) .blocklistedBox,
richlistitem[blocklistedsoft="false"]:not([selected="true"]) .blocklistedBox,
richlistitem[blocklisted="false"] .blocklistedLabel,
richlistitem[blocklistedsoft="false"] .softBlocklistedLabel,
richlistitem[opType="needs-uninstall"] .blocklistedBox,
richlistitem[opType="needs-uninstall"] .incompatibleBox,
richlistitem[opType="needs-uninstall"] .needsDependenciesBox,
richlistitem[opType="needs-uninstall"] .blocklistedBox {
  display: none;
}

richlistitem[loading="true"] .updateBadge {
  display: -moz-box;
  width: 16px;
  height: 16px;
  margin-bottom: -3px;
  -moz-margin-end: -2px;
  list-style-image: url("chrome://global/skin/icons/loading_16.png");
  -moz-image-region: auto;
}

.addonThrobber {
  -moz-margin-start: 5px;
  width: 16px;
  height: 16px;
  list-style-image: url("chrome://global/skin/icons/loading_16.png");
}

.selectedStatusMsgs > hbox {
  margin-top: 2px;
  margin-bottom: 2px;
}

.selectedStatusMsgs label {
  font-weight: bold;
}

.selectedStatusMsgs label.text-link {
  font-weight: normal;
  border: none;
}

richlistitem[opType="needs-uninstall"] .notifyBadge {
  display: none;
}

.addon-search-details {
  margin-top: 5px;
  margin-bottom: 5px;
  -moz-margin-start: 6px;
  -moz-margin-end: 0px;
}

.addonThumbnailContainer {
  background: window;
  padding: 5px;
  border: 2px solid ActiveBorder;
  width: 135px;
  min-height: 104px;
  -moz-margin-end: 5px;
}

.addonMissingThumbnail {
  color: GrayText;
  font-size: larger;
  font-weight: bold;
}

.addonFailure {
  width: 16px;
  height: 16px;
  list-style-image: url("chrome://mozapps/skin/extensions/notifyBadges.png");
  -moz-image-region: rect(0px 24px 8px 16px);
}

.addonRating {
  display: none;
}

.addonLearnMore {
  margin-top: 4px;
  margin-bottom: 4px;
}

.addonRating[rating] {
  display: -moz-box;
  width: 59px;
  height: 12px;
  list-style-image: url("chrome://mozapps/skin/extensions/ratings.png");
}

.addonRating[rating="0"] {
  -moz-image-region: rect(0px 60px 12px 0px);
}

.addonRating[rating="1"] {
  -moz-image-region: rect(12px 60px 24px 0px);
}

.addonRating[rating="2"] {
  -moz-image-region: rect(24px 60px 36px 0px);
}

.addonRating[rating="3"] {
  -moz-image-region: rect(36px 60px 48px 0px);
}

.addonRating[rating="4"] {
  -moz-image-region: rect(48px 60px 60px 0px);
}

.addonRating[rating="5"] {
  -moz-image-region: rect(60px 60px 72px 0px);
}

.addonType image {
  -moz-margin-start: 6px;
  list-style-image: url("chrome://mozapps/skin/extensions/extensionicons.png");
  width: 16px;
  height: 16px;
}

.addonTypeExtension image {
  -moz-image-region: rect(0px 16px 16px 0px);
}

.addonTypeTheme image {
  -moz-image-region: rect(0px 32px 16px 16px);
}

vbox[typeName="status"][type="search-failure"],
vbox[typeName="status"][type="recommended-failure"],
vbox[typeName="status"][type="message-norecommended"],
vbox[typeName="status"][type="message-nosearchresults"],
vbox[typeName="status"][type="retrieve-search"],
vbox[typeName="status"][type="retrieve-recommended"] {
  margin-top: 2em;
}

vbox[typeName="status"][type="footer-recommended"],
vbox[typeName="status"][type="footer-search"] {
  margin-top: 1em;
}

vbox[typeName="status"][type="header-recommended"] {
  font-size: 150%;
  background: #FFF;
}

#progressBox {
  padding: 5px 5px 5px 5px;
}

#progressBox > hbox {
  -moz-box-align: center;
}

/* View buttons */
.viewSelector,
.viewGroupWrapper {
  border-bottom: 1px solid #666;
  margin: 0px;
  -moz-padding-start: 5px;
  background-color: #FFF;
  color: #000;
}

#viewGroup {
  padding: 2px;
}

#viewGroup radio {
  -moz-appearance: none;
  margin: 1px;
  min-width: 5em;
  list-style-image: url("chrome://mozapps/skin/extensions/viewbuttons.png");
}

#viewGroup radio:hover {
  background-color: #EEE;
  color: black;
}

#viewGroup radio[selected="true"] {
  background-color: #DDD;
  color: black;
}

.viewButtonIcon {
  width: 32px;
  height: 32px;
}

radio#extensions-view {
  -moz-image-region: rect(0px, 32px,  32px, 0px)
}
radio#extensions-view:hover, radio#extensions-view[selected="true"]  {
  -moz-image-region: rect(32px, 32px,  64px, 0px)
}

radio#themes-view {
  -moz-image-region: rect(0px, 64px,  32px, 32px)
}
radio#themes-view:hover, radio#themes-view[selected="true"]  {
  -moz-image-region: rect(32px, 64px,  64px, 32px)
}

radio#locales-view {
  -moz-image-region: rect(0px, 96px,  32px, 64px)
}
radio#locales-view:hover, radio#locales-view[selected="true"]  {
  -moz-image-region: rect(32px, 96px,  64px, 64px)
}

radio#plugins-view {
  -moz-image-region: rect(0px, 128px, 32px, 96px)
}
radio#plugins-view:hover, radio#plugins-view[selected="true"] {
  -moz-image-region: rect(32px, 128px, 64px, 96px)
}

radio#updates-view {
  -moz-image-region: rect(0px, 160px, 32px, 128px)
}
radio#updates-view:hover, radio#updates-view[selected="true"] {
  -moz-image-region: rect(32px, 160px, 64px, 128px)
}

radio#installs-view {
  -moz-image-region: rect(0px, 192px, 32px, 160px)
}
radio#installs-view:hover, radio#installs-view[selected="true"] {
  -moz-image-region: rect(32px, 192px, 64px, 160px)
}

radio#search-view {
  -moz-image-region: rect(0px, 224px, 32px, 192px)
}
radio#search-view:hover, radio#search-view[selected="true"] {
  -moz-image-region: rect(32px, 224px, 64px, 192px)
}

/* Update view checkbox */
.includeUpdate {
  -moz-user-focus: none;
}

richlistitem[selected="true"] .includeUpdate {
  -moz-user-focus: normal;
}
#infoDisplay {
  overflow-y: auto;
}

#infoDisplay body {
  padding: 5px;
}

#infoDisplay h1,
#infoDisplay h2,
#infoDisplay h3 {
  text-align: left;
  font-weight: bold;
  margin: 0em 0em 0.7em 0em;
}

#infoDisplay h1 {
  font-size: 150%;
}

#infoDisplay h2 {
  font-size: 125%;
}

#infoDisplay h3 {
  font-size: 100%;
}

#infoDisplay ol,
#infoDisplay ul {
  margin: 0em 0em 0.7em 0em;
}

#infoDisplay li {
  text-align: left;
}

#infoDisplay p {
  text-align: justify;
  margin: 0em 0em 0.7em 0em;
}

/* Search box styling */

#searchbox {
  padding: 1px 2px 1px 2px;
  margin-left: 0px;
  margin-bottom: 8px;
}

.searchbox-search, .searchbox-cancel {
  -moz-appearance: none;
  cursor: default;
  margin: 0px 0px 0px 2px;
  border: 0px;
  padding: 0px;
  width: 16px;
  height: 16px;
  min-width: 16px;
  list-style-image: url("chrome://mozapps/skin/extensions/searchicons.png");
  background-color: #FFF;
}

.searchbox-search {
  -moz-image-region: rect(0px 16px 16px 0px);
}

.searchbox-search:hover {
  -moz-image-region: rect(16px 16px 32px 0px);
}

.searchbox-search:active {
  -moz-image-region: rect(32px 16px 48px 0px);
}

.searchbox-cancel {
  -moz-image-region: rect(0px 32px 16px 16px);
}

.searchbox-cancel:hover {
  -moz-image-region: rect(16px 32px 32px 16px);
}

.searchbox-cancel:active {
  -moz-image-region: rect(32px 32px 48px 16px);
}

.searchbox-search .button-box,
.searchbox-cancel .button-box {
  outline: 1px solid transparent;
  border: 0px;
  padding: 0px;
}

#getMore {
  display: none !important;
}


.addon[active="false"] {
  color: #888A8B;
  background-color: rgba(135, 135, 135, 0.1);
/*  background-image: -moz-linear-gradient(rgba(135, 135, 135, 0),
                                         rgba(135, 135, 135, 0.1));
*/
}



.addon .relnotes-container {
  -moz-box-align: start;
  -moz-margin-start: 6px;
  height: 0;
  overflow: hidden;
  opacity: 0;   
  -moz-transition-property: height, opacity;
  -moz-transition-duration: 0.5s, 0.5s;
}

.addon[show-relnotes] .relnotes-container {
  opacity: 1;
  -moz-transition-property: height, opacity;
  -moz-transition-duration: 0.5s, 0.5s;
}
.addon .relnotes-header {
  font-weight: bold;
  margin: 10px 0;
}
.button-link {  
  -moz-appearance: none;
  background: transparent;
  border: none;
  text-decoration: underline;
  color: #006699;
/*  color: #0066CC;  */
/*  text-shadow: 1px 1px rgba(0,0,0,0.4);*/
  cursor: pointer;
  min-width: 0;
  margin: 0 6px;
}

.text-link {   
  color: #00adee;
}
 
.button-link:hover,
.text-link:hover {
  text-decoration:underline;
  color: #3DA1FF;
}

.button-link:focus,
.text-link:focus {
  outline: 1px dotted #ffffff;
}
